package com.atguigu.gulimall.member.service;

import com.atguigu.common.vo.MemberInfoVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.member.entity.MemberEntity;

import java.util.Map;

/**
 * 会员
 *
 * @author HX
 * @email 1624242879@qq.com
 * @date 2021-01-17 21:37:11
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);



    boolean checkPhoneUsername(String phone, String username);


    MemberEntity findByPhone(String phone);

    //微博登录
    MemberEntity oathuWeiBo(MemberInfoVo vo);
}

